<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{/*块级标签 block*/
            /*独占一行 可以修改宽高*/
            /*边框 实线  颜色*/
            border: 1px solid red;
            width: 100px;
            height: 100px;
        }
        span{/*行内标签 inline*/
            /*行内元素：共占一行不能修改宽高*/
            border: 1px solid blue;
            /*width: 100px;*/
            /*height: 100px;*/
        }
        img{/*行内块级标签 inline-block*/
            width: 100px;
            height: 100px;
            display: none;/* none 隐藏相关元素*/
        }
        a{/*行内标签 无法设置宽高 需要强制转化为块级标签或者行内块级标签*/
            background-color: #0aa1ed;
            display: block;/*显示以块级标签 inline-block*/
            width: 132px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            text-decoration: none;
            color: white;
            border-radius: 20px;/*边框角圆润度*/
        }
    </style>
</head>
<body>
<a href="">查看详情</a><br>
<img src="../2.png">
<img src="../2.png">
<img src="../2.png">
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>